package edu.wpi.first.wpilibj.defaultCode;

import edu.wpi.first.wpilibj.Joystick;
import java.util.TimerTask;

/*
 * Tasks
 * Manual close
 * Auto close
 * Release
 */

/**
 *
 * @author buttercream
 */
public class Grabber extends TimerTask
{
    Joystick controller;

    public Grabber(Joystick controller)
    {
        this.controller = controller;
    }

    public void run()
    {
        //If touch sensor is triggered OR if the manual grab button is pressed,
        //trigger grabber to fire
        //else if release button is pressed, release grabber

        //Remember to consider that a joystick button may be pressed through
        //multiple cycles. Won't necessarily be a single press in a single
        //iteration
    }


}
